Dynomotion

Group: DynoMotion Message: 1951 From: bradodarb Date: 10/11/2011
Subject: Secret Console Commands
Hello,

I was looking at how you were issuing feedholds in the KMotionCNC app and I saw some commands in the button handler:


if (TheFrame->KMotionDLL.WriteLineReadLine(board,"GetStopState",response.GetBufferSetLength(MAX_LINE))) return;
response.ReleaseBuffer();

if (response=="0")
{
TheFrame->KMotionDLL.WriteLine(board,"StopImmediate0");
}
else
{
TheFrame->KMotionDLL.WriteLine(board,"StopImmediate1");
}



I looked for StopImmediate0 and StopImmediate1 in the script reference but nothing showed up. Did I overloook a bit of documentation?


-Brad Murry
Group: DynoMotion Message: 1954 From: Tom Kerekes Date: 10/12/2011
Subject: Re: Secret Console Commands
Hi Brad,
 
Yes we need to document those.  The directly reflect the same C functionality described in KMotionDef.h
 
Hardware Feedhold/Resume was in a state of flux for a while but now it seems to be working well and should be documented.
 
BTW there is a file in the DSP_KFLOP directory called PC2.c which contains the command parser table that KFLOP uses to parse commands from the PC.  This will always reflect exactly what KFLOP will accept and process.
 
Thanks
TK